﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;

namespace KraveDAL
{
    public class DataBase
    {
        private string connectionString = "Data Source=localhost\\sqlexpress;AttachDbFilename=C:\\Program Files\\Microsoft SQL Server\\MSSQL10.SQLEXPRESS\\MSSQL\\DATA\\KraveDB.mdf;Integrated Security=True";
        private SqlConnection con;
        protected SqlCommand cmd;

        public DataBase()
        {
            con = new SqlConnection(connectionString);
            con.Open();
            cmd = new SqlCommand();
            cmd.Connection = con;
            cmd.CommandType = CommandType.Text;
        }
    }
}
